package com.ebt.m.proposal_v2.adapter;

import android.content.Context;
import android.view.View;

import com.ebt.m.R;
import com.ebt.m.proposal_v2.bean.InsuranceEntity;
import com.ebt.m.proposal_v2.dao.response.ResponseChanShuoItem;
import com.ebt.m.proposal_v2.helper.ThemeHelper;
import com.ebt.m.proposal_v2.interfaces.OnRxClickListener;
import com.ebt.m.proposal_v2.utils.ProposalUtils;
import com.ebt.m.proposal_v2.utils.RxUtils;
import com.ebt.m.proposal_v2.widget.view.CompoundTextView;

import java.util.List;

import butterknife.BindView;

/**
 * 计划书的产品列表
 *
 * @author archer.qi
 *         Created on 2017/9/25.
 */
public class ProductInProposalAdapter2 extends EBTRecyclerAdapter<ResponseChanShuoItem, ProductInProposalViewHolder> {

    public ProductInProposalAdapter2(Context context, List<ResponseChanShuoItem> data) {
        super(context, data);
    }

    @Override
    protected ProductInProposalViewHolder createViewHolder(View itemView) {
        return new ProductInProposalViewHolder(getContext(), itemView);
    }

    @Override
    protected int createConvertView() {
        return R.layout.item_product_in_proposal_window;
    }


}
